package cn.iocoder.yudao.module.book.dal.mysql.config;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.book.dal.dataobject.config.BookConfigDO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BookConfigMapper extends BaseMapperX<BookConfigDO> {

    default BookConfigDO selectByConfigKey(String configKey) {
        return selectOne("config_key", configKey);
    }
}